package com.sky.vo;

import com.sky.entity.Book;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户日志返回的数据格式")
public class UserActionLogVO {
    @ApiModelProperty("主键值")
    private String id;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("时间戳")
    private Date timestamp;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("关联图书")
    private Book book;
}
